<?php
/**
 * Created by PhpStorm.
 * User: august
 * Date: 2021/5/18
 * Time: 14:20
 */

namespace DesignPatterns\Creator\SimpleFactory;


class Sub extends AOperation
{
    public function getResult()
    {
        return $this->numberA - $this->numberB;
    }
}